Snapservice LongTermRetention
The Snapservice LongTermRetention schema contains different types of long term snapshot retention settings for a given protection group with Snapservice ReplicationPolicy enabled. At least one of the values must be specified.
This schema was added in vSphere API 9.1.0.0.
{
"hourly": {
"retention": {
"unit": "string",
"duration": 0
}
},
"daily": {
"hour": 0,
"retention": {
"unit": "string",
"duration": 0
}
},
"weekly": {
"hour": 0,
"day_of_week": "string",
"retention": {
"unit": "string",
"duration": 0
}
},
"monthly": {
"hour": 0,
"day_of_month": 0,
"retention": {
"unit": "string",
"duration": 0
}
}
}
One snapshot for every hour is retained for the duration specified.
This property was added in vSphere API 9.1.0.0.
if missing or null hourly long term retention is not specified.
One snapshot for every day is retained for the duration specified.
This property was added in vSphere API 9.1.0.0.
if missing or null daily long term retention is not specified.
One snapshot for every week is retained for the duration specified.
This property was added in vSphere API 9.1.0.0.
if missing or null weekly long term retention is not specified.
One snapshot for every month is retained for the duration specified.
This property was added in vSphere API 9.1.0.0.
if missing or null monthly long term retention is not specified.